package com.dom.stor.dao.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.*;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.Version;

import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * S_商品拆卸明细流水表
 * </p>
 *
 * @author xllei
 * @since 2018-11-13
 */
@Data
@Accessors(chain = true)
@TableName("ts_dismantle_detail_flow")
public class TsDismantleDetailFlow implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 拆卸明细流水id
     */
    @TableField("dism_detail_id")
    private String dismDetailId;
    /**
     * 会员编码
     */
    @TableField("mem_code")
    private Integer memCode;
    /**
     * 组装拆卸id
     */
    @TableField("combind_id")
    private String combindId;
    /**
     * 商品编码
     */
    @TableField("good_code")
    private Integer goodCode;
    /**
     * 商品名称
     */
    @TableField("good_name")
    private String goodName;
    /**
     * 品种编码
     */
    @TableField("variety_code")
    private Integer varietyCode;
    /**
     * 品种名称
     */
    @TableField("variety_name")
    private String varietyName;
    /**
     * 规格名称
     */
    @TableField("standard_name")
    private String standardName;
    /**
     * 单位英文名称
     */
    private String unit;
    /**
     * 商品数量
     */
    private BigDecimal amount;
    /**
     * 摘要
     */
    private String digest;
    /**
     * 创建时间
     */
    private Date ctime;
    /**
     * 修改时间
     */
    private Date mtime;
    @Version
    private Integer version;


}
